﻿using BCCommon.TMS.FreightEnums;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.HorsemanFreightExtention
{
    public class HorsemanFreightExtentionPutDto
    {
        /// <summary>
        /// 基础骑手运费扩展
        /// </summary>
        [Display(Name = "是否是基础骑手扩展")]
        public bool IsBase { get; set; }
        /// <summary>
        /// 区县Id
        /// </summary>
        [Display(Name = "区县Id")]
        public long? CountyId { get; set; }
        /// <summary>
        /// 区县编码
        /// </summary>
        [Display(Name = "区县编码")]
        public string CountyCode { get; set; }
        /// <summary>
        /// 跑腿阶梯运费类型
        /// </summary>
        [Display(Name = "跑腿阶梯运费类型")]
        [Required(ErrorMessage = "{0} 为必选项")]
        public HorsemanFreightExtentionType FreightExtentionType { get; set; }

        /// <summary>
        /// 最大续重
        /// </summary>
        public decimal? MaxEachWeight { get; set; }
        /// <summary>
        /// 续重价格
        /// </summary>
        public decimal? EachWeightPrice { get; set; }
        /// <summary>
        /// 夜间续重价格
        /// </summary>
        public decimal? NightEachWeightPrice { get; set; }
        /// <summary>
        /// 续程最大距离
        /// </summary>
        public int? MaxEachDistance { get; set; }
        /// <summary>
        /// 续程价格
        /// </summary>
        public decimal? EachDistancePrice { get; set; }
        /// <summary>
        /// 夜间续程价格
        /// </summary>
        public decimal? NightEachDistancePrice { get; set; }
    }
}
